package com.gopay.common.domain.bis;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.SequenceGenerator;
import javax.persistence.Table;

/**
 * 银行交互服务 网银B2B产品通道配置信息表
 * 
 * @BisEbankB2CConfig.java
 * @author yaobo
 * @2013-11-5 下午05:18:22 www.gopay.com.cn Inc.All rights reserved.
 */
@Entity
@Table(name = "BIS_EBANKB2B_CH_CFG")
public class BisEbankB2BConfig extends BaseBisBankExtConfig {

    /**
     * 
     */
    private static final long serialVersionUID = -4789732823137008514L;
    /**
     * 流水号
     */
    @Id
    @Column(name = "SQ")
    @SequenceGenerator(name="BIS_EBANKB2B_CH_CFG_SQ_GENERATOR", sequenceName="BIS_EBANKB2B_CH_CFG_SEQ")
	@GeneratedValue(strategy=GenerationType.SEQUENCE, generator="BIS_EBANKB2B_CH_CFG_SQ_GENERATOR")
    private int id;

    /**
     * 支持直连网关
     * 
     * 0 - 不支持 1 - 支持
     */
    @Column(name = "SUPPORT_DIRECT", nullable = false, precision = 1, scale = 0)
    private boolean supportDirect;

    /**
     * 是否需要输入特殊字符
     * 
     * 0 - 否 1 - 是
     */
    @Column(name = "IS_SPECIAL", nullable = false, precision = 1, scale = 0)
    private boolean isSpecial;
    
    /**
     * 特殊字符
     * 
     * 
     */
    @Column(name = "SPECIAL_CODE")
    private String specialCode;

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public boolean isSupportDirect() {
		return supportDirect;
	}

	public void setSupportDirect(boolean supportDirect) {
		this.supportDirect = supportDirect;
	}

	public boolean isSpecial() {
		return isSpecial;
	}

	public void setSpecial(boolean isSpecial) {
		this.isSpecial = isSpecial;
	}

	public String getSpecialCode() {
		return specialCode;
	}

	public void setSpecialCode(String specialCode) {
		this.specialCode = specialCode;
	}


    
}
